package com.pm.project.service;

import com.pm.common.core.domain.AjaxResult;
import com.pm.common.core.domain.entity.ProjectTempleteDefine;
import com.pm.common.core.domain.entity.ProjectTempleteVersion;
import com.pm.project.domain.vo.ProjectTempleteVersionVO;

import java.util.List;

public interface ProjectTempleteService {

    AjaxResult prepareAdd(ProjectTempleteVersion projectTempleteVersion);

    AjaxResult addNode(ProjectTempleteDefine projectTempleteDefine);

    List<ProjectTempleteVersionVO> list(ProjectTempleteVersion projectTempleteVersion);

    AjaxResult add(ProjectTempleteVersion projectTempleteVersion);

    ProjectTempleteVersion detail(ProjectTempleteVersion projectTempleteVersion);

    AjaxResult updateNode(ProjectTempleteDefine projectTempleteDefine);

    AjaxResult copy(ProjectTempleteVersion projectTempleteVersion);

    AjaxResult updateStatus(String id);

    ProjectTempleteVersion currTemDetail(ProjectTempleteVersion projectTempleteVersion);

    AjaxResult delNode(ProjectTempleteDefine projectTempleteDefine);
}
